<%@ page contentType="text/html;charset=UTF-8" language="java"
isELIgnored="false" %>
<%@ include file="../../includes/common.jsp" %>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <title>博文搜索：${keyword}</title>
        <meta name="searchwhat" content="article" />
        <meta name="author" content="chunhai.chen(15317227@qq.com)" />
        <c:set var="tmp1" value="<span class='sep'>› </span><a href='/articles.htm'>博文资讯</a>"/>
        <c:set var="tmp2" value="<span class='sep'>› </span><span class='current'>搜索：${keyword}</span>"/>
		<meta name="trailLinks" content="${tmp1}${tmp2}" />
    </head>
    <body>
        <c:if test="${not empty keyword}">
            <div id="ctl00_ctl00_cphMainContent_cphMainContent_HeaderContent" class="header">
                <h2>
                   	 搜索：${keyword} 
                </h2>
            </div>
        </c:if>
        <c:if test="${not empty viewStatus && not empty viewStatus.data}">
            <ul id="comments" class="comment-list" style="margin: 5px 0 10px;">
                <c:forEach items="${viewStatus.data['articles']}" var="v" varStatus="vst">
                    <spring:url value="/article/{id}.htm" var="articleUrl">
                        <spring:param name="id" value="${v.id}" />
                    </spring:url>
                    <li class="comment comment-699 " id="comment-699">
                        <div align="left">
                            <cite>
                                <em>${v.person.nickName}</em>
								在 <span class="date"><fmt:formatDate value="${v.lastUpdated}" type="both" /></span> 写道: 
                            </cite>
                            <a class="reply button" href="${articleUrl }" title="${v.title }" alt="${v.name }">${v.name }</a>
                        </div>
                        <div class="avatar">
                            <img alt="Collars" src="/themes/2009/img/robin-small.jpg">
                        </div>
                        <p>
                            ${v.shortDesc }
                        </p>
                    </li>
                </c:forEach>
            </ul>
        </c:if>
        <div class="spacer">
        </div>

    </body>
</html>